package com.gupao;

import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.plugins.annotations.Parameter;

/**
 * Created by ktyan on 2017/5/3.
 */
@Mojo(name = "gupaoedu", defaultPhase = LifecyclePhase.PACKAGE)
public class GupaoMojo extends AbstractMojo
{
    
    @Parameter
    private String msg;
    
    public void execute() throws MojoExecutionException, MojoFailureException
    {
        System.out.println("Gupao plugin Test" + msg);
    }
}
